/* ====================== 1. 全局样式 ====================== */
*{
	margin:0;
	padding:0;
}
/*隐藏滚动条*/
::-webkit-scrollbar {
	display: none; /* 对于WebKit浏览器（如Chrome、Safari） */
}
/* ====================== 2. 内容模块 ====================== */
.main-content{
	width: 100%;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
	overflow-y: auto; /* 允许内容垂直滚动 */
	height: 100vh; /* 占据整个视口高度 */
}
/* ====================== 2. 导航相关样式 ====================== */
.layui-fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}
.layui-nav {
	justify-content: flex-start;
	min-width: max-content;
	background-color: #20b2aa;
}
/* ====================== 下拉框样式 ====================== */
.layui-nav-child{
	border-radius: 10px;
}
/* ====================== 3. 轮播图样式 ====================== */
#banner {
	margin: 0 auto;
	margin-top: 75px;
	width: 100%;
	min-height: 50vh !important;
}
#banner img {
	width: 100%;
	height: 55vh!important;
}

/* ====================== 4. 课程卡片样式 ====================== */
.course-card {
	transition: all .3s;
}
.course-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.course-card button{
	/*border: 1px solid #ed2727;*/
	width: 76px !important;
	position: absolute;
	top: 0;
	right: 18px;
}
.course-card button i{
	position: relative!important;
	top: 0!important;
	right: 0!important;
}
.course-card span{
	position: relative;
	color: #ed2727;
}
/* ====================== 5. 通用标题样式 ====================== */
.section-title {
	text-align: center;
	margin-bottom: 30px;
	font-size: 24px;
	color: #333;
}

/* 通用容器间距 */
.content-section {
	margin-top: 50px;
}
/* ====================== 6. 教师展示相关样式 ====================== */
.teacher-card {
	text-align: center;
	padding: 20px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	min-width: 300px;
	max-height: 120px;
}

.teacher-card img {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	margin-right: 200px;
}

.teacher-card h3 {
	position: relative;
	top: -100px;
	left: 45px;
	color: #333;
}
.teacher-card p {
	position: relative;
	width: 70%;
	top: -90px;
	left: 100px;
	color: #333;
}

/* ====================== 7. 滚动展示相关样式 ====================== */
.teacher-scroll-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.teacher-scroll-wrapper {
	display: flex;
	animation: scroll 20s linear infinite; /* 增加动画持续时间 */
}

.teacher-scroll-wrapper:hover {
	animation-play-state: paused;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%); /* 调整滚动距离，避免瞬间跳回 */
	}
}

.teacher-card {
	flex: 0 0 auto;
	width: 250px;
	margin-right: 20px;
}

/* ====================== 8. 家长反馈样式 ====================== */
.feedback-card {
	background: #fff;
	padding: 20px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.feedback-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-bottom: 15px;
}
.feedback-content .vip-p{
	position: relative;
	top: -60px;
	left: 70px;
 }
.feedback-content img{
	width: 20px;
	position: relative;
}
.feedback-content span{
	color: #ffd000;
	position: relative;
	top: 5px;
	right:5px;
}
.feedback-name {
	font-weight: bold;
	position: relative;
	width: 65px;
	top: -65px;
	left: 60px;
	text-align: center;
}

.feedback-text {
	color: #666;
	line-height: 1.6;
	position: relative;
	top: -20px;
}

.layui-container button{
	width: 80px;
	height: 40px;
}

/* ====================== 9. 页脚样式 ====================== */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
	background-color: #393D49;
    color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
	z-index: 999;
}
